package com.gupao.adapterdemo.passport.service;

import com.gupao.adapterdemo.passport.Member;
import com.gupao.adapterdemo.passport.ResultMsg;

public class SigninService {
    /**
     * 注册方法
     * @param userName
     * @param password
     * @return
     */
    public ResultMsg<?> register(String userName,String password){
        return new ResultMsg<>(200,"注册成功",new Member());
    }


    /**
     * 登录方法
     * @param userName
     * @param password
     * @return
     */
    public ResultMsg<?> login(String userName,String password){
        return new ResultMsg<>(200,"登录成功",new Member());
    }
}
